#if !defined(AFX_SYSTEMDATADLG_H__8274FD89_55E5_452C_A76A_78D3916B5D3A__INCLUDED_)
#define AFX_SYSTEMDATADLG_H__8274FD89_55E5_452C_A76A_78D3916B5D3A__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SystemDataDlg.h : header file
//

#include "Util\MinLabel.h"
#include "Util\MinButton.h"
/////////////////////////////////////////////////////////////////////////////
// CSystemDataDlg dialog

#define	ALL_SYS_BUTTON		9
#define	ALL_SYS_LABEL		9


class CSystemData;
class CDMControlCenter;

class CSystemDataDlg : public CDialog
{
private:
	CSystemData* m_lnkSystemData;
// Construction
public:
	CSystemDataDlg(CSystemData* pSystemData, CDMControlCenter* pDMCC, CWnd* pParent = NULL);   // standard constructor
	
	char m_szTmp[100];
	void PointSelect(int sel=0);
	void Display(BOOL change=TRUE);

// Dialog Data
	//{{AFX_DATA(CSystemDataDlg)
	enum { IDD = IDD_SYSTEMDATA_DLG };
	CMinButton	m_bSave;
	CMinButton	m_bExit;
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSystemDataDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	char m_cBufGet[50];
	char m_cbuf[50];
	
	double m_tmpDouble[ALL_SYS_BUTTON];
	CMinLabel	m_sData[ALL_SYS_LABEL];
	CMinButton	m_bButton[ALL_SYS_BUTTON];

	// Generated message map functions
	//{{AFX_MSG(CSystemDataDlg)
	afx_msg void OnSave();
	virtual void OnCancel();
	virtual BOOL OnInitDialog();
	afx_msg void OnSystem0();
	afx_msg void OnSystem1();
	afx_msg void OnSystem2();
	afx_msg void OnSystem3();
	afx_msg void OnSystem4();
	afx_msg void OnSystem5();
	afx_msg void OnSystem6();
	afx_msg void OnSystem7();
	afx_msg void OnSystem8();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_SYSTEMDATADLG_H__8274FD89_55E5_452C_A76A_78D3916B5D3A__INCLUDED_)
